package cn.icare.cms;

import cn.icare.cms.dao.po.ItemCat;
import cn.icare.cms.dao.po.Shelves;
import cn.icare.cms.model.ro.AddItemCatRO;
import cn.icare.cms.model.ro.AddShelvesRO;
import cn.icare.cms.model.ro.EditItemCatRO;
import cn.icare.cms.model.ro.EditShelvesRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;

import java.util.List;

/**
 * 货架Service接口类
 */
public interface ShelvesService {
    Long createOne(AddShelvesRO ro, String actionUserName);

    boolean updateOne(EditShelvesRO ro, String actionUserName);

    boolean deleteOne(Long id);

    boolean deleteBatch(List<Long> ids);

    Shelves getOne(Long id);

    MsgDatasVO getList(Long areaId,String code, String name, Integer pageNum, Integer pageSize);
}
